import request from '@/utils/request'

// 查询日报项目-后台维护列表
export function listDailyProjectConfig(query) {
  return request({
    url: '/system/dailyProjectConfig/listPage',
    method: 'get',
    params: query
  })
}

// 查询日报项目-后台维护详细
export function getDailyProjectConfig(id) {
  return request({
    url: '/system/dailyProjectConfig/' + id,
    method: 'get'
  })
}

// 新增日报项目-后台维护
export function addDailyProjectConfig(data) {
  return request({
    url: '/system/dailyProjectConfig',
    method: 'post',
    data: data
  })
}

// 修改日报项目-后台维护
export function updateDailyProjectConfig(data) {
  return request({
    url: '/system/dailyProjectConfig',
    method: 'put',
    data: data
  })
}

// 删除日报项目-后台维护
export function delDailyProjectConfig(id) {
  return request({
    url: '/system/dailyProjectConfig/' + id,
    method: 'delete'
  })
}
